/*
 * wall.h
 *
 *  Created on: Mar 19, 2012
 *      Author: Michael Ziminsky
 */

#ifndef WALL_H_
#define WALL_H_

class Wall : public RigidBody, public ConvexShape
{
        scalar _length;
        bool _vertical;
protected:
        vector3 doGetSupport(const vector3&) const;
public:
        Wall(const vector3&, scalar, bool);

        scalar length() const;
        void length(scalar);

        bool isVertical() const;
        void isVertical(bool);

        void integrate(scalar);
};

#endif /* WALL_H_ */